package com.wiiss.modeler.config;

import java.awt.*;

/**
 * 常量类
 *
 * @author my
 */
public final class WorkflowConstants {

    /**
     * 动态流程图颜色定义
     **/
    public static final Color COLOR_NORMAL = new Color(0, 205, 0);
    public static final Color COLOR_CURRENT = new Color(255, 255, 0);
    public static final Color COLOR_ERROR = new Color(255, 0, 0);
    public static final Color TIME_OUT = new Color(150, 0, 150);

    /**
     * 定义生成流程图时的边距(像素)
     **/
    public static final int PROCESS_PADDING = 5;

    /**
     * 流程节点类型 - 错误边界事件
     */
    public static final String ACTIVITI_NODE_TYPE_ERROR_EVENT = "errorEvent";

    /**
     * 流程节点类型 - 错误边界事件
     */
    public static final String ACTIVITI_NODE_TYPE_TIMER_EVENT = "timerEvent";

    /**
     * 流程节点类型 - 服务任务
     */
    public static final String ACTIVITI_NODE_TYPE_SERVICE_TASK = "serviceTask";

    /**
     * 流程图字体
     */
    public static final String ACTIVITI_FONT = "宋体";

}
